projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c3d14d
)
(shell): Use user-emacs-directory.
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 13 Jun 2007 00:03:49 +0000
(
00:03
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 13 Jun 2007 00:03:49 +0000
(
00:03
+0000)
lisp/shell.el
patch
|
blob
|
history
diff --git
a/lisp/shell.el
b/lisp/shell.el
index a218981256afaaf03815ec986c7b85a16f3adf1e..9e07540d9d8776936f940c836aa035e700d20778 100644
(file)
--- a/
lisp/shell.el
+++ b/
lisp/shell.el
@@
-557,7
+557,7
@@
Otherwise, one argument `-i' is passed to the shell.
(startfile (concat "~/.emacs_" name))
(xargs-name (intern-soft (concat "explicit-" name "-args"))))
(unless (file-exists-p startfile)
- (setq startfile (concat
"~/.emacs.d/
init_" name ".sh")))
+ (setq startfile (concat
user-emacs-directory "
init_" name ".sh")))
(apply 'make-comint-in-buffer "shell" buffer prog
(if (file-exists-p startfile) startfile)
(if (and xargs-name (boundp xargs-name))